package com.example.cstr.service;

import com.example.cstr.entity.Message;
import com.example.cstr.entity.Year;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface YearService {


    Message deleteByPrimaryKey(Integer yearId);

    int insert(Year record);

    int insertSelective(Year record);

    Year selectByPrimaryKey(Integer yearId);

    int updateByPrimaryKeySelective(Year record);

    int updateByPrimaryKey(Year record);

    List<Year> selectAllYear();

    Message PagingSearch(@RequestParam Integer pageNum, @RequestParam Integer size);

    Year selectCurrentYear();
}







